<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>02_主轴对齐方式</title>
    <style>
        .box{
            height: 1000px;
            display: flex;
            background-color: yellow;
            justify-content: center;
            justify-content: end;
            justify-content: start;
            justify-content: space-around;
            justify-content: space-evenly;
            justify-content: space-between;

            align-items: flex-start;
            align-items: center;
            align-items: flex-end;



        }
        .box>.item{
            background-color: #0aa1ed;
            width: 200px;
            height: 200px;
            border: black 1px solid;
        }
        .box2{
            height: 1000px;
            display: flex;
            background-color: yellow;
            flex-direction: column;
            justify-content: center;
            justify-content: end;
            justify-content: start;
            justify-content: space-around;
            justify-content: space-evenly;
            justify-content: space-between;


            align-items: flex-start;
            align-items: flex-end;
            align-items: center;
        }
        .box2>.item{
            background-color: #0aa1ed;
            width: 200px;
            height: 200px;
            border: black 1px solid;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="item">1</div>
        <div class="item">2</div>
        <div class="item">3</div>
        <div class="item">4</div>
    </div>
    <div class="box2">
        <div class="item">1</div>
        <div class="item">2</div>
        <div class="item">3</div>
        <div class="item">4</div>
    </div>
</body>
</html>